-- DO_CAREER_204_LEARN_EFFECT
-- 学习暗行者是直接显示钥匙

return function()
    for pos = 1, GRID_SIZE do
        local grid = DungeonM.getGridByPos(pos);
        if grid:isMonster() and grid.has_key == 1 then
            if grid.monster.dbase:query("show_key") ~= 1 and not grid.monster:isBoss() then
                grid.monster.dbase:set("show_key", 1);
                EventMgr.fire(event.MARK_MONSTER, {["pos"] = grid:getPos(),});
            end
            break;
        end
    end
end